<style scoped>
.table-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #409EFF;
    cursor: pointer;
}

.table-btn + .table-btn{
    margin-left: 10px;
}

.table-btn-txt{
    display: inline-block;
    margin-left: 4px;
}

</style>

<template>
    <div class="table-btn">
        <Icon v-if='icon' :type="icon" color="#409EFF" />
        <span class="table-btn-txt"><slot/></span>
    </div>
</template>
<script>
export default {
    props:{
        icon:{
            default: ''
        }
    }
}
</script>
